<h2>My Component</h2>
<div class="search-results"
     infiniteScroll
     [infiniteScrollContainer]="'nz-content'"
     [fromRoot]="true"
     [infiniteScrollDistance]="2"
     [infiniteScrollThrottle]="50"
     (scrolled)="onScroll()">
  <p *ngFor="let data of testData">测试测试</p>
  <div class="example">
    <nz-spin nzTip='Loading...'></nz-spin>
  </div>
</div>
